Add ccache installation and setup instructions#141
Open
bobjansen wants to merge 1 commit intor-lib:mainfrom
Open
Add ccache installation and setup instructions#141bobjansen wants to merge 1 commit intor-lib:mainfrom
bobjansen wants to merge 1 commit intor-lib:mainfrom
Conversation
As a reaction to a question raised in the audience during userR! and the discussion on r-lib#103, an extra section in the README that explains (hopefully clearly) how to setup ccache for use with R and pak to speed up installation of packages that need compilation. Credits to @eddelbuettel for making me aware of this idea. Settings taken from his blog at http://dirk.eddelbuettel.com/blog/2017/11/27/ Compared to the post I've reduced maximum cache size from 5G to 1G as installation of packages tidyverse, devtools and data.table generates less than 150M of cache files and extended the inline comments somewhat.
Member
|
Thanks! A pretty good write up, too good. :) I think it is too much for the pak README, which is pretty short currently, and tries to focus on the package itself, but I think we can find another place for it. |
Author
|
I agree it is too long. I could put it in a vignette and refer to it from the README? |
Member
|
FWIW if you install ccache with homebrew it sets up symlinks for all the compiler aliases during installation, so you can set your |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As a reaction to a question raised in the audience during userR! and the
discussion on #103, an extra section in the README that explains
(hopefully clearly) how to setup ccache for use with R and pak to speed
up installation of packages that need compilation.
Credits to @eddelbuettel for making me aware of this idea. Settings taken
from his blog at
http://dirk.eddelbuettel.com/blog/2017/11/27/
Compared to the post I've reduced maximum cache size from 5G to 1G as
installation of packages tidyverse, devtools and data.table generates
less than 150M of cache files and extended the inline comments
somewhat.